﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EnglishRemix.Services.Model
{
    public sealed class DeviceValidator
    {
        private static readonly DeviceValidator instance = new DeviceValidator();

        private DeviceValidator() { }

        private DeviceIdList deviceIdMap;

        public static DeviceValidator Instance
        {
            get
            {
                return instance;
            }
        }

        public void updateAll()
        {
        }

        public void updateUser(String UserName)
        {
        }

        public Boolean isValid(String DeviceId, String UserName)
        {
            //????
            //TODO: Check the value correct or not.
            return true;
        }
    }

    public class DeviceIdList
    {
        private String UserName;
        private List<String> IdList;
    }
}